export function getPerson(name: string){
    return{
        name,
        age: 30
    }
}

export function getDog(name: string){
    return{
        name,
        voice: "汪汪汪"
    }
}

export function getCat(name: string){
    return{
        name,
        voice: "喵喵喵"
    }
}

export function getFrog(name: string){
    return{
        name,
        voice: "呱呱呱"
    }
}